public class Dog extends Animal{

    public Object eat;

    String name ;
    public Dog(int a, String b){
    super(a,b);
    name=b;

}

public void eat(){

    System.out.println(name+"正在吃狗粮");
}
}
